package com.zf.yichat.mapper;

import com.zf.yichat.base.FsMapper;
import com.zf.yichat.model.UserExchangeBalance;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.entity.Example;

public interface UserExchangeBalanceMapper extends FsMapper<UserExchangeBalance> {

    /**
     * 查询用户已兑换的积分值
     * @param userId
     * @return
     */
    Integer selectUserExchangedNum(@Param("userId") Long userId);
}